package com.woniuxy.charin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.charin.model.entity.ActivityInfo;
import com.woniuxy.charin.model.entity.Station;

import com.woniuxy.charin.model.vo.ActivityInfoVo;

import java.util.List;

/**
* @author 28196
* @description 针对表【activity_info】的数据库操作Service
* @createDate 2024-12-23 21:27:49
*/
public interface ActivityInfoService extends IService<ActivityInfo> {

    Page<ActivityInfoVo> convertToVOPage(Page<ActivityInfo> page);

    /**
     * 获取活动关联的站点列表
     */
    List<Station> getActivityStations(Long activityId);

    /**
     * 添加活动关联站点
     */
    boolean addActivityStations(Long activityId, List<Long> stationIds);
}
